<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>select_search_demo</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" type="text/css" media="screen" href="./css/style.css" />
    <script src="https://cdn.bootcss.com/jquery/1.8.3/jquery.js"></script>
    <script src="./js/select_search.js"></script>
</head>
<body>
    <select id="se1">
        <option value="">请选择</option>
        <option value="test1">test1</option>
        <option value="test2">test2</option>
        <option value="test3">test3</option>
        <option value="test4">test4</option>
        <option value="test5">test5</option>
        <option value="test6">test6</option>
        <option value="test7">test7</option>
        <option value="text1">text1</option>
        <option value="text2">text2</option>
        <option value="text3">text3</option>
        <option value="text4">text4</option>
        <option value="text5">text5</option>
        <option value="text6">text6</option>
        <option value="text7">text7</option>
        <option value="rest1">rest1</option>
        <option value="rest2">rest2</option>
        <option value="rest3">rest3</option>
        <option value="rest4">rest4</option>
        <option value="rest5">rest5</option>
		<option value="rest6">rest6</option>
      </select>
      <input type="button" value="点我" onclick="var v = $('#se1').val();alert(v);" />
</body>
<script>
    $(function(){
        $('#se1').searchableSelect();           
    });
</script>
</html>